package test.net.rpc;

import com.wan.net.rpc.service.RService;

import java.util.Date;
import java.util.Objects;

/**
 * @author wwh
 * @date 2022/6/23 11:26
 */
@RService(version = "1.0.1")
public class HelloImpl implements Hello{
    @Override
    public String helloWorld(int a, Date date) {
        return a + "_" + date;
    }

    @Override
    public int helloWorld(float a, Date date, String b) {
        return Objects.hash(a,date,b);
    }
}
